home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / drivers / actix131.zip / SETUP.BAT < prev    next >
DOS Batch File  |  1993-04-14  |  2KB  |  71 lines

  1. @echo off
  2. set id=A:
  3. if "%2" == "" goto blank
  4. set id=%2
  5. :blank
  6. if "%1" == "" goto error
  7. if "%1" == "CADKEY" goto cadkey
  8. if "%1" == "cadkey" goto cadkey
  9. if "%1" == "DATACAD" goto cadkey
  10. if "%1" == "datacad" goto cadkey
  11. if "%1" == "VERSACAD" goto versacad
  12. if "%1" == "versacad" goto versacad
  13. if "%1" == "CADVANCE" goto cadvance
  14. if "%1" == "cadvance" goto cadvance
  15. if "%1" == "USTATION" goto ustation
  16. if "%1" == "ustation" goto ustation
  17. if "%1" == "GENERIC" goto generic
  18. if "%1" == "generic" goto generic
  19.  
  20. :error
  21. echo off
  22. echo .
  23. echo . Illegal setup command.
  24. :usage
  25. echo off
  26. echo .
  27. echo . Command format for setup is:
  28. echo .
  29. echo .        A:\SETUP [package] [drive]
  30. echo .
  31. echo . where [package] is:
  32. echo .
  33. echo .        CADKEY for CadKey or DataCad,
  34. echo .        VERSACAD for VersaCad,
  35. echo .        CADVANCE for Cadvance,
  36. echo .        USTATION for MicroStation.
  37. echo .        GENERIC for Generic CADD.
  38. echo .
  39. echo . The [drive] is optional and A: will be assumed, or you can
  40. echo . supply B: as the setup source drive.
  41. echo .
  42. echo . Note: Your current drive must be the drive containing the package
  43. echo .       you are attempting to install.
  44. echo . If the problems still exist please call our tech support.
  45. echo .
  46. goto exit
  47.  
  48. :cadkey
  49. set ip=\cadkey\
  50. goto install
  51.  
  52. :versacad
  53. set ip=\versacad\
  54. goto install
  55.  
  56. :cadvance
  57. set ip=\cadvance\
  58. goto install
  59.  
  60. :ustation
  61. set ip=\ustation\
  62. goto install
  63.  
  64. :generic
  65. set ip=\generic\
  66. goto install
  67.  
  68. :install
  69. %id%%ip%install
  70. :exit
  71.